package com.learn.project2.model.vo.admin.category;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @description: TODO 商品类目
 * @author 亓永杰
 * @date 2022-01-08 17:12
 * @version 1.0
 */
@NoArgsConstructor
@Data
public class CategoryListVO {

    private Integer total;
    private Integer pages;
    private Integer limit;
    private Integer page;
    private List<ListBean> list;

    @NoArgsConstructor
    @Data
    public static class ListBean {
        private Integer id;
        private String name;
        private String keywords;
        private String desc;
        private String iconUrl;
        private String picUrl;
        private String level;
        private List<ChildrenBean> children;

        @NoArgsConstructor
        @Data
        public static class ChildrenBean {
            private Integer id;
            private String name;
            private String keywords;
            private String desc;
            private String iconUrl;
            private String picUrl;
            private String level;
        }
    }
}
